package com.docker.fy.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface FyDockerDrugMapper {

    //根据药品id查询药品表中库存
    int selectMedicineStockById(@Param("medicineId") int medicineId);

    //根据药品id更新药品表中库存
    void updateMedicineStockById(@Param("medicineId") int medicineId,@Param("stock") int stock);

    Map getDockerDrugInfoByDrugId(@Param("medicine_id") int medicine_id);
}
